home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / loanapp / loanf10.frm < prev    next >
Text File  |  1995-05-07  |  8KB  |  243 lines

  1. VERSION 2.00
  2. Begin Form Form10 
  3.    BackColor       =   &H00808080&
  4.    ClientHeight    =   3300
  5.    ClientLeft      =   300
  6.    ClientTop       =   2160
  7.    ClientWidth     =   8880
  8.    ControlBox      =   0   'False
  9.    Height          =   3705
  10.    Left            =   240
  11.    LinkMode        =   1  'Source
  12.    LinkTopic       =   "Form10"
  13.    MaxButton       =   0   'False
  14.    MinButton       =   0   'False
  15.    ScaleHeight     =   3300
  16.    ScaleWidth      =   8880
  17.    Top             =   1815
  18.    Width           =   9000
  19.    Begin CommandButton Command3 
  20.       Caption         =   "Cancel"
  21.       Height          =   300
  22.       Left            =   4995
  23.       TabIndex        =   16
  24.       Top             =   2805
  25.       Width           =   3000
  26.    End
  27.    Begin CommandButton Command1 
  28.       Caption         =   "Ok"
  29.       Height          =   300
  30.       Left            =   885
  31.       TabIndex        =   15
  32.       Top             =   2805
  33.       Width           =   3000
  34.    End
  35.    Begin PictureBox Picture5 
  36.       Height          =   600
  37.       Left            =   45
  38.       ScaleHeight     =   570
  39.       ScaleWidth      =   4140
  40.       TabIndex        =   12
  41.       Top             =   2010
  42.       Width           =   4170
  43.       Begin PictureBox BEditF10 
  44.          FontBold        =   -1  'True
  45.          FontItalic      =   0   'False
  46.          FontName        =   "MS Sans Serif"
  47.          FontSize        =   9.75
  48.          FontStrikethru  =   0   'False
  49.          FontUnderline   =   0   'False
  50.          Height          =   495
  51.          Index           =   5
  52.          Left            =   2910
  53.          ScaleHeight     =   465
  54.          ScaleWidth      =   1155
  55.          TabIndex        =   14
  56.          Top             =   30
  57.          Width           =   1185
  58.       End
  59.       Begin Label Label5 
  60.          Caption         =   "Number of years at this address:"
  61.          Height          =   210
  62.          Left            =   105
  63.          TabIndex        =   13
  64.          Top             =   240
  65.          Width           =   2835
  66.       End
  67.    End
  68.    Begin PictureBox Picture4 
  69.       Height          =   900
  70.       Left            =   6840
  71.       ScaleHeight     =   870
  72.       ScaleWidth      =   1965
  73.       TabIndex        =   3
  74.       Top             =   1035
  75.       Width           =   1995
  76.       Begin PictureBox BEditF10 
  77.          FontBold        =   -1  'True
  78.          FontItalic      =   0   'False
  79.          FontName        =   "MS Sans Serif"
  80.          FontSize        =   9.75
  81.          FontStrikethru  =   0   'False
  82.          FontUnderline   =   0   'False
  83.          Height          =   495
  84.          Index           =   4
  85.          Left            =   45
  86.          ScaleHeight     =   465
  87.          ScaleWidth      =   1845
  88.          TabIndex        =   11
  89.          Top             =   345
  90.          Width           =   1875
  91.       End
  92.       Begin Label Label4 
  93.          Caption         =   "Zip Code:"
  94.          Height          =   210
  95.          Left            =   45
  96.          TabIndex        =   10
  97.          Top             =   45
  98.          Width           =   900
  99.       End
  100.    End
  101.    Begin PictureBox Picture3 
  102.       Height          =   900
  103.       Left            =   5850
  104.       ScaleHeight     =   870
  105.       ScaleWidth      =   885
  106.       TabIndex        =   2
  107.       Top             =   1035
  108.       Width           =   915
  109.       Begin PictureBox BEditF10 
  110.          FontBold        =   -1  'True
  111.          FontItalic      =   0   'False
  112.          FontName        =   "MS Sans Serif"
  113.          FontSize        =   9.75
  114.          FontStrikethru  =   0   'False
  115.          FontUnderline   =   0   'False
  116.          Height          =   495
  117.          Index           =   3
  118.          Left            =   45
  119.          ScaleHeight     =   465
  120.          ScaleWidth      =   765
  121.          TabIndex        =   9
  122.          Top             =   360
  123.          Width           =   795
  124.       End
  125.       Begin Label Label3 
  126.          Caption         =   "State:"
  127.          Height          =   240
  128.          Left            =   45
  129.          TabIndex        =   8
  130.          Top             =   45
  131.          Width           =   570
  132.       End
  133.    End
  134.    Begin PictureBox Picture2 
  135.       Height          =   900
  136.       Left            =   45
  137.       ScaleHeight     =   870
  138.       ScaleWidth      =   5700
  139.       TabIndex        =   1
  140.       Top             =   1035
  141.       Width           =   5730
  142.       Begin PictureBox BEditF10 
  143.          FontBold        =   -1  'True
  144.          FontItalic      =   0   'False
  145.          FontName        =   "MS Sans Serif"
  146.          FontSize        =   9.75
  147.          FontStrikethru  =   0   'False
  148.          FontUnderline   =   0   'False
  149.          Height          =   495
  150.          Index           =   2
  151.          Left            =   45
  152.          ScaleHeight     =   465
  153.          ScaleWidth      =   5580
  154.          TabIndex        =   7
  155.          Top             =   315
  156.          Width           =   5610
  157.       End
  158.       Begin Label Label2 
  159.          Caption         =   "City:"
  160.          Height          =   255
  161.          Left            =   45
  162.          TabIndex        =   6
  163.          Top             =   45
  164.          Width           =   435
  165.       End
  166.    End
  167.    Begin PictureBox Picture1 
  168.       Height          =   900
  169.       Left            =   45
  170.       ScaleHeight     =   870
  171.       ScaleWidth      =   8760
  172.       TabIndex        =   0
  173.       Top             =   60
  174.       Width           =   8790
  175.       Begin PictureBox BEditF10 
  176.          FontBold        =   -1  'True
  177.          FontItalic      =   0   'False
  178.          FontName        =   "MS Sans Serif"
  179.          FontSize        =   9.75
  180.          FontStrikethru  =   0   'False
  181.          FontUnderline   =   0   'False
  182.          Height          =   495
  183.          Index           =   1
  184.          Left            =   45
  185.          ScaleHeight     =   465
  186.          ScaleWidth      =   8640
  187.          TabIndex        =   5
  188.          Top             =   330
  189.          Width           =   8670
  190.       End
  191.       Begin Label Label1 
  192.          Caption         =   "Address:"
  193.          Height          =   210
  194.          Left            =   45
  195.          TabIndex        =   4
  196.          Top             =   45
  197.          Width           =   1725
  198.       End
  199.    End
  200. End
  201.  
  202. Sub BEditF10_LostFocus (Index As Integer)
  203.     If Index = 3 Then
  204.         Form10.BEditF10(3).Text = UCase$(Form10.BEditF10(3).Text)
  205.     End If
  206. End Sub
  207.  
  208. Sub Command1_Click ()
  209.     Select Case AddressBox
  210.         Case 1
  211.             MainRec.B.B1 = Form10.BEditF10(1).Text
  212.             MainRec.B.B2 = Form10.BEditF10(2).Text
  213.             MainRec.B.B3 = Form10.BEditF10(3).Text
  214.             MainRec.B.B4 = Form10.BEditF10(4).Text
  215.             UpdateLabelB
  216.         Case 2
  217.             MainRec.I.B1 = Form10.BEditF10(1).Text
  218.             MainRec.I.B2 = Form10.BEditF10(2).Text
  219.             MainRec.I.B3 = Form10.BEditF10(3).Text
  220.             MainRec.I.B4 = Form10.BEditF10(4).Text
  221.             MainRec.I.B5 = Form10.BEditF10(5).Text
  222.             UpdateLabelI
  223.         Case 3
  224.             MainRec.J.B1 = Form10.BEditF10(1).Text
  225.             MainRec.J.B2 = Form10.BEditF10(2).Text
  226.             MainRec.J.B3 = Form10.BEditF10(3).Text
  227.             MainRec.J.B4 = Form10.BEditF10(4).Text
  228.             MainRec.J.B5 = Form10.BEditF10(5).Text
  229.             UpdateLabelJ
  230.     End Select
  231.     Form10.Hide
  232. End Sub
  233.  
  234. Sub Command3_Click ()
  235.     Form10.Hide
  236. End Sub
  237.  
  238. Sub Form_Load ()
  239.     Form10.Left = 300
  240.     Form10.Top = (Screen.Height - Form10.Height) / 2
  241. End Sub
  242.  
  243.